
package com.et.easy.demo.logback;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * <p>slf4j+logback日志框架</p>
 * @author defier Lai
 * <p>Date: 2009-11-1 下午01:19:46</p>
 * @version 1.0
 */
public class LogBackDemo {
	
	final static Logger LOG = LoggerFactory.getLogger(LogBackDemo.class);
	
	public static void main(String[] args) {
		String str = "测试日志";
		int postion = 1000;
		
		LOG.info("打印日志:{}.{}", postion, str);
		
		Object params[] = {postion, str, "输出OK。"};
		LOG.info("打印日志:{}.{}->{}", params);
	}
	

}
